package com.biShe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 小刘
 * @since 2023-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CostType对象", description="")
public class CostType implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "记账分类名字")
    @TableField("costName")
    private String costname;

    @ApiModelProperty(value = "记账分类描述")
    private String text;

    private Float amount;

    @ApiModelProperty(value = "分类创建时间")
    private String createdTime;

    @TableLogic
    private Integer deleted;


}
